#include "__PCH_Arkanoid.h"
#include <iostream>
#include "HitSettingDetail.h"

using namespace std;

CHitSettingDetail::CHitSettingDetail ()
{
}

void CHitSettingDetail::SetIdHit(const uint32 uIdHit)
{
	m_uIdHit = uIdHit;
}
void CHitSettingDetail::SetTexturePath(const std::string sTexturePath)
{
	m_sTexturePath = sTexturePath;
}
void CHitSettingDetail::SetHaveAnimation(const bool bHaveAnimation)
{
	m_bHaveAnimation = bHaveAnimation;
}
void CHitSettingDetail::SetTextureRows(const uint32 uTextureRows)
{
	m_uTextureRows = uTextureRows;
}
void CHitSettingDetail::SetTextureColumns(const uint32 uTextureColumns)
{
	m_uTextureColumns = uTextureColumns;
}
CTexture* CHitSettingDetail::GetTexture()
{	
	//if (m_uTextureBlock == NULL)
	//{
			m_uTextureBlock = CORE->GetTextureManager()->GetTexture(m_sTexturePath);
	//}
	return m_uTextureBlock;
}